package com.baox.agridata.synchronous.service.shanxi.impl;

import com.baox.agridata.synchronous.dao.shanxi.TCCOutAAMapper;
import com.baox.agridata.synchronous.entity.quanguo.Jyzdds;
import com.baox.agridata.synchronous.entity.shanxi.TCCOutAAEntity;
import com.baox.agridata.synchronous.service.shanxi.TCCOutAAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCCOutAAServiceImpl implements TCCOutAAService {


    @Autowired
    private TCCOutAAMapper tccOutAAMapper;

    @Override
    public Integer selectOutAAIsExistById(String mid) {
        return tccOutAAMapper.selectOutAAIsExistById(mid);
    }

    @Override
    public TCCOutAAEntity selectTCCOutAAByMidOrUUID(String mid) {
        return tccOutAAMapper.selectTCCOutAAByMidOrUUID(mid);
    }

    @Override
    public Integer updateTccOutAAStatus(String Status, String lastUpdate, String mid) {
        return tccOutAAMapper.updateTccOutAAStatus(Status, lastUpdate, mid);
    }

    @Override
    public Integer batchInsertTCCOutAA(List<TCCOutAAEntity> list) {
        return tccOutAAMapper.batchInsertTCCOutAA(list);
    }

    @Override
    public List<Jyzdds> selectJyzDDsFromTCCOutAA(String createTime) {
        return tccOutAAMapper.selectJyzDDsFromTCCOutAA(createTime);
    }
}
